﻿using UnityEngine;
using System.Collections;
using UnityEngine.UI;

public class ShopDialog : Dialog {
    public Text[] valueTexts, priceTexts;

    protected override void Start()
    {
        base.Start();

        for(int i = 0; i < valueTexts.Length; i++)
        {
            //valueTexts[i].text = Purchaser.instance.iapItems[i].value + " rubies";
            //priceTexts[i].text = "$ " + Purchaser.instance.iapItems[i].price;
        }
    }

    public void OnBuyProduct(int index)
    {
        PurchaseProxy.pay(index);
    }
}
